<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<#include "/views/ftl/base/manager_include.ftl">

<script type="text/javascript" src="${basePath}js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="${basePath}js/manager/comonFunction.js"></script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户域名列表</title>
<script type="text/javascript">
$().ready(function() {
	$("#search_button").click(function(){
		$('#select_form').submit();
    });
    
    
    
});

</script>
</head>
<body style="background:#eef3f7;">
<#include "/views/ftl/base/head.ftl">
<div class="Main">
  <div class="dw">
<#include "/views/ftl/base/menu.ftl">
<#function a><#return "域名绑定_List"></#function> 
<!--右边内容-->
<div class="Rightbox fl">
    <!--导航-->
    <div class="Bread_crbs clear">
      <div class="Bread_crbs_img fl"></div>
      <div class="Bread_crbs_text fl">
      	<a href="javascript:void(0);"><span>用户管理</span></a>
      	<span class="fnt_famy">></span>
      	<a href="javascript:void(0);"><span>用户域名列表</span></a>
      </div>
    </div>
    <!--搜索框修改-->
    <form id="select_form" name="select_form" action="${basePath}manager/UserDomain_userDomainList" method="post">
	    <div class="searchBox fl">
	      	<span>用户ID</span><input type="text" name="userId" value="${(userId?c)!''}" />
	        <span>用户名</span><input type="text" name="userName" value="${(userName)!''}" />
	        <span>绑定时间</span><input type="text" name="startDate" value="${(startDate)!''}" readonly="readonly" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
	   		
	    </div>
    </form>
	    <a href="javascript:void(0);" id="search_button" class="search_btn fl"><span>搜索</span></a> 
		<!--
		<a href="javascript:void(0);" id="function_user_button" style="width:80px" class="search_btn fl "><span>功能限制</span></a>
		<a href="javascript:void(0);" id="function_message_button" style="width:89px;background: #00ad55 none repeat scroll 0 0;" class="search_btn fl "><span>发送系统消息</span></a>
		-->
    <div class="clear"></div>
    <!--表格列表-->
    <div class="Table">
      <table id="table" cellpadding="0" cellspacing="1">
        <tbody>
          <tr id="gl">
            <td>用户ID</td>
            <td>用户名</td> 
			<td>域名</td>
			<td>网站说明</td> 
		
			<td>绑定时间</td>
            <td>操作</td>
          </tr>
         <#if (pager.list??)> 
         <#if ((pager.list?size)>0)>
          <#list pager.list as bean>
          <tr>
            <td>${(bean.userId?c)}</td>
            <td>${(bean.userName)!''}</td> 
            <td >${(bean.domain)!''}</td>
            <td>${(bean.domainExplains)!''}</td> 
            <td>${(bean.createTime)!''}</td>
          
           
            <td class="tbl_btn tdd150">
         		<a href="${basePath}manager/UserDomain_userDomainDetail?id=${(bean.id?c)}"><span id="editor">详情</span></a> 

				<a href="javascript:comonDelete('${(bean.id?c)}','UserDomain_deleteDomain','删除');" ><span id="red">删除</span></a>        
     		</td>
          </tr>
          </#list >
          </#if>
          </#if>
        </tbody>
      </table>
    </div>
    <!--翻页按钮-->
  	<#import "../../base/pager.ftl" as p>
   	<@p.pager pager = pager baseUrl = "manager/UserDomain_userDomainList" parameterMap={"userId":(userId)!'',"userName":(userName)!'',"startDate":(startDate)!''} />
</div>


</body>
</html>

